package com.ipay.wechat.service.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.ipay.wechat.dao.TOrderpayinfoDao;
import com.ipay.wechat.pojo.TOrderpayinfoEntity;
import com.ipay.wechat.service.TOrderpayinfoService;



@Service("tOrderpayinfoService")
public class TOrderpayinfoServiceImpl implements TOrderpayinfoService {
	@Autowired
	private TOrderpayinfoDao tOrderpayinfoDao;
	
	@Override
	public TOrderpayinfoEntity queryObject(Integer id){
		return tOrderpayinfoDao.queryObject(id);
	}
	
	@Override
	public List<TOrderpayinfoEntity> queryList(Map<String, Object> map){
		return tOrderpayinfoDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return tOrderpayinfoDao.queryTotal(map);
	}
	
	@Override
	public void save(TOrderpayinfoEntity tOrderpayinfo){
		tOrderpayinfoDao.save(tOrderpayinfo);
	}
	
	@Override
	public void update(TOrderpayinfoEntity tOrderpayinfo){
		tOrderpayinfoDao.update(tOrderpayinfo);
	}
	
	@Override
	public void delete(Integer id){
		tOrderpayinfoDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		tOrderpayinfoDao.deleteBatch(ids);
	}
	
}
